import {request} from '@utils/http'
import { IDistrictList } from './model/hospitalListTypes'
/**
 * 获取地区列表
 * @param id 
 * @returns 
 */
export const getDistrictList = (id:string | number)=>{
    return request.get<any,IDistrictList>('/admin/cmn/dict/findByParentId/' + id)
}